<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>right</title>
<link href="__PUBLIC__/Admin/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.js"></script>
</head>
<script type="text/javascript">
function checkform(){
	var myFrm = document.forms[0];
	str1 = myFrm.name.value;
	if(str1=="")
	{
		$("#warn1").html("新闻类别不为空");
		return false;
	}else
	{
		$("#warn1").html("");
	}
	
}
</script>


<body>

<div id="container">
  <div id="main"> 
    <div id="content"> 
      <div class="weizhi"><span>当前位置：<{$position}></span></div>
      <br />
      <form onsubmit="return checkform()" action="__URL__/addCategory/" method="post" >
 新闻类别：<input type="text" name="name" value=""/>&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="submit" name="sub" value="添加">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:red" id="warn1"></span>
</form>
		
		        
		        
		        </div>
		        </div>
</div>
</body>